package com.letsiot.applications.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.letsiot.applications.entity.SysMessage;

public interface SysMessageService extends BaseService<SysMessage> {

    Page<SysMessage> listMessage(SysMessage query, Pageable pageable);

    int countByMessageTypeAndModule(String messageType, String moduleCode, String isread);

    SysMessage findWarningMessageCode(String messageCode);
}
